package com.cc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

/**
 * @author 86130
 * @version 1.0
 * @description: TODO
 * @date 2025/5/30 上午11:46
 */
@Configuration  //  配置类
@ComponentScan("com.cc")    //  组件扫描
@PropertySource("classpath:database.properties")    //  引入外部属性文件
@Import({JdbcConfig.class, MybatisConfig.class})   //  导入其他配置类
public class SpringConfig {
}